﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeFile="Storage_Info.aspx.cs" Inherits="Storage_Storage_Info" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>正贸仓储物流管理系统</title>
    <link href="../css/css.css" rel="stylesheet" type="text/css" />

    <script src="../JS/Validate.js"></script>

    <script type="text/javascript">

        function fPopUpDlg(URL, Target, form)   //
        {
            now = new Date();
            var rom;
            var rom1
            rom = Math.ceil(Math.random() * 10000);
            rom1 = now.getFullYear() + "" + now.getMonth() + "" + now.getDate() + "" + now.getHours() + "" + now.getMinutes() + "" + now.getSeconds() + "" + rom;

            showx = event.screenX - event.offsetX - 4; // + deltaX;
            showy = event.screenY - event.offsetY + 18; // + deltaY;
            retval = window.showModalDialog(URL + "?radmom=" + rom1, "", "dialogWidth:600px; dialogHeight:336px; dialogLeft:" + showx + "px; dialogTop:" + showy + "px; status:no; directories:yes;help:no;scrollbars:no;Resizable=no; ");

            if (retval != null) {
                var Material = retval.split(",");
                document.forms(0).txt_Mat_Name.value = Material[2];           //物料名称
                document.forms(0).txt_Mat_Code.value = Material[1];           //物料编码
//                document.forms(0).txt_S01.value = Material[0];           //规格
            }
        }
        
    </script>

    <base target="_self" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="100%" border="0" cellspacing="0" cellpadding="0">
            <tr>
                <td style="height: 30px">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td style="background-image: url(../images/tab_03.gif); background-repeat: repeat-x;
                                width: 12px;">
                                &nbsp;
                            </td>
                            <td style="background-image: url(../images/tab_05.gif); background-repeat: repeat-x;
                                height: 30px;">
                                <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                    <tr>
                                        <td style="width: 46%; vertical-align: middle;">
                                            <table width="100%" border="0" cellspacing="0" cellpadding="0">
                                                <tr>
                                                    <td style="width: 5%; vertical-align: middle;">
                                                        <img src="../images/tb.gif" width="16" height="16" />
                                                    </td>
                                                    <td style="width: 95%;">
                                                        <span>你当前的位置</span>：库存管理--补货明细
                                                    </td>
                                                </tr>
                                            </table>
                                        </td>
                                        <td width="54%">
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td width="16" style="background-image: url(../images/tab_07.gif); height: 30px;">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td>
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td style="background-image: url(../images/tab_12.gif); width: 8px;">
                                &nbsp;
                            </td>
                            <td>
                                <table width="100%" cellspacing="0" cellpadding="0" border="1" bordercolordark="#ffffff"
                                    bordercolorlight="#b5d6e6">
                                    <tr style="height: 22px;">
                                        <td align="right" width="200px">
                                            托&nbsp;&nbsp;盘&nbsp;&nbsp;号：
                                        </td>
                                        <td style="width: 200px; padding-left: 2px; padding-right: 2px;">
                                            <asp:TextBox ID="txt_Tray_ID" runat="server" Enabled="false" Style="width: 120px;
                                                height: 14px; border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                        </td>
                                        <td align="right" width="200px">
                                            物料名称：
                                        </td>
                                        <td style="width: 200px; padding-left: 2px; padding-right: 2px;">
                                            <asp:TextBox ID="txt_Mat_Name" runat="server" Style="width: 120px; height: 14px;
                                                border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                            <input onclick="fPopUpDlg('../Stock/BookList.aspx','Item',form1);return false;" src="../images/fc.gif"
                                                style="border-right: 0px; border-top: 0px; border-left: 0px; width: 14px; border-bottom: 0px;
                                                height: 11px" type="image" />
                                        </td>
                                    </tr>
                                    <tr style="height: 22px;">
                                        <td align="right" width="200px">
                                            物料编码：
                                        </td>
                                        <td style="width: 200px; padding-left: 2px; padding-right: 2px;">
                                            <asp:TextBox ID="txt_Mat_Code" runat="server" Style="width: 120px; height: 14px;
                                                border: solid 1px #b5d6e6; font-size: 9pt;"></asp:TextBox>
                                        </td>
                                        <td align="right" width="200px">
                                            规&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;格：
                                        </td>
                                        <td style="width: 200px; padding-left: 2px; padding-right: 2px;">
                                            <asp:TextBox ID="txt_S01" runat="server" Style="width: 120px; height: 14px; border: solid 1px #b5d6e6;
                                                font-size: 9pt;"></asp:TextBox>
                                        </td>
                                    </tr>
                                    <tr style="height: 22px;">
                                        <td align="right" width="200px">
                                            补货数量：
                                        </td>
                                        <td style="width: 200px; padding-left: 2px; padding-right: 2px;">
                                            <asp:TextBox ID="txt_Act_Num" runat="server" Style="width: 120px; height: 14px; border: solid 1px #b5d6e6;
                                                font-size: 9pt;">0</asp:TextBox>
                                        </td>
                                        <td align="right" width="200px">
                                            &nbsp;
                                        </td>
                                        <td style="width: 200px; padding-left: 2px; padding-right: 2px;">
                                            &nbsp;
                                        </td>
                                    </tr>
                                    <tr style="height: 22px;">
                                        <td align="right" colspan="2">
                                            <asp:ImageButton ID="ibtn_Add" runat="server" ImageUrl="~/Images/btn/btn_Ok.gif"
                                                OnClick="ibtn_Add_Click" />
                                        </td>
                                        <td align="left" colspan="2">
                                            <asp:ImageButton ID="ibtn_Close" runat="server" ImageUrl="~/Images/btn/closewindow.BMP"
                                                OnClick="ibtn_Close_Click" />
                                        </td>
                                    </tr>
                                </table>
                            </td>
                            <td style="background-image: url(../images/tab_15.gif); width: 8px;">
                                &nbsp;
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
            <tr>
                <td style="background-image: url(../images/tab_19.gif); height: 35px;">
                    <table width="100%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                            <td style="width: 12px; height: 35px;">
                                <img src="../images/tab_18.gif" width="12" height="35" />
                            </td>
                            <td>
                                &nbsp;
                            </td>
                            <td width="16">
                                <img src="../images/tab_20.gif" width="16" height="35" />
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
